
package com.hlkj.pay.vo.openapi.fund.req;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.hlkj.framework.common.valid.EnumValid;
import com.hlkj.pay.enums.CommonEnum;
import com.hlkj.pay.vo.BaseReq;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商户进件表
 * 
 * @TableName t_merchant_access_info
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OpenApiFundAccountBindTypeReq extends BaseReq {

    /**
     * 进件单号
     */
    @Schema(description = "通道code")
    @NotEmpty(message = "通道编码不能为空")
    private String mchChannelCode;
    /**
     * 进件单号
     */
    @Schema(description = "分账接受方")
    @NotEmpty(message = "分账接受方 不能为空")
    private String accountNo;
    /**
     * 审核状态，0：关闭 1 启用
     */
    @Schema(description = "分账类型 ，1=系统分账，0=商户手动分账")
    @NotNull(message = "分账类型 不能为空")
    @EnumValid(value = CommonEnum.YES_NO_TYPE.class,message = "分账类型 无效")
    private Integer fundProcessType;

}
